import request from "@/config/utils/request";
//结算列表
export function listSettlementPage(data) {
  return request({
    url: "/apis/smp/settlement/listSettlementPage",
    method: "post",
    data
  });
}

//保存结算单
export function saveSettlement(data) {
  return request({
    url: "/apis/smp/settlement/saveSettlement",
    method: "post",
    data
  });
}

//查询结算单
export function getSettlementById(data) {
  return request({
    url: "/apis/smp/settlement/getSettlementById",
    method: "post",
    data
  });
}

//提交结算单
export function submitSettlement(data) {
  return request({
    url: "/apis/smp/settlement/submitSettlement",
    method: "post",
    data
  });
}

//查询结算列表
export function listSmpPcConcPage(data) {
  return request({
    url: "/apis/smp/smppcconc/listSmpPcConcPage",
    method: "post",
    data
  });
}
//查询合同列表
export function getSmpPcConcMatListById(data) {
  return request({
    url: "/apis/smp/smppcconc/getSmpPcConcMatListById",
    method: "post",
    data
  });
}
//查询合同列表
export function getSmpPcConcById(data) {
  return request({
    url: "/apis/smp/smppcconc/getSmpPcConcById",
    method: "post",
    data
  });
}

//查询验收单详情
export function getAcceptanceCert(data) {
  return request({
    url: "/apis/smp/acceptancecert/getAcceptanceCert",
    method: "post",
    data
  });
}

//查询验收单详情
export function listAcceptanceCert(data) {
  return request({
    url: "/apis/smp/acceptancecert/listAcceptanceCert",
    method: "post",
    data
  });
}
//删除结算冲销单
export function removeSettlement(data) {
  return request({
    url: "/apis/smp/settlement/removeSettlement",
    method: "post",
    data
  });
}

//删除结算冲销单
export function revokeSettlement(data) {
  return request({
    url: "/apis/smp/settlement/revokeSettlement",
    method: "post",
    data
  });
}